package com.ctshk.rpc.localfun.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/6/29
 */
@ApiModel("庫存請求入參")
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class LocalFunStockReq implements Serializable {

    @ApiModelProperty(value = "訂單ID")
    private Long orderId;

    @ApiModelProperty("產品ID")
    private Long productId;

    @ApiModelProperty("规格ID")
    private Long attrId1;

    @ApiModelProperty("规格ID2")
    private Long attrId2;

    @ApiModelProperty("扣减库存量")
    private int num;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("渠道ID")
    private Long channelId;

    @ApiModelProperty(value = "1 线上 2线下")
    private Integer line;

    @ApiModelProperty(value = "1:自营 2:代理商 3:官方渠道 4:第三方")
    private Integer channel;

    @ApiModelProperty(value = "勾选人/部门类型(2部门，1员工) ")
    private Integer checkType;

    @ApiModelProperty(value = "自定义ID")
    private Long customId;

    @ApiModelProperty(value = "自定义名称")
    private String customName;
}
